using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Reflection;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;

namespace OrderWorkflow
{
    partial class OrderStateMachine
    {
		#region Designer generated code
        
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCode]
        private void InitializeComponent()
        {
            this.CanModifyActivities = true;
            this.TerminateWorkflow = new System.Workflow.ComponentModel.TerminateActivity();
            this.setStateActivity2 = new System.Workflow.Activities.SetStateActivity();
            this.handleExternalEventActivity1 = new System.Workflow.Activities.HandleExternalEventActivity();
            this.setOrderCompletedState = new System.Workflow.Activities.SetStateActivity();
            this.handleOrderShipped = new System.Workflow.Activities.HandleExternalEventActivity();
            this.setOrderOpenState3 = new System.Workflow.Activities.SetStateActivity();
            this.handleOrderUpdated2 = new System.Workflow.Activities.HandleExternalEventActivity();
            this.setOrderProcessedState = new System.Workflow.Activities.SetStateActivity();
            this.handleOrderProcessed = new System.Workflow.Activities.HandleExternalEventActivity();
            this.setOrderOpenState2 = new System.Workflow.Activities.SetStateActivity();
            this.handleOrderUpdated = new System.Workflow.Activities.HandleExternalEventActivity();
            this.setOrderOpenState = new System.Workflow.Activities.SetStateActivity();
            this.handleOrderCreated = new System.Workflow.Activities.HandleExternalEventActivity();
            this.stateInitializationActivity1 = new System.Workflow.Activities.StateInitializationActivity();
            this.OnOrderCanceled = new System.Workflow.Activities.EventDrivenActivity();
            this.OnOrderShipped = new System.Workflow.Activities.EventDrivenActivity();
            this.OnOrderUpdated2 = new System.Workflow.Activities.EventDrivenActivity();
            this.OnOrderProcessed = new System.Workflow.Activities.EventDrivenActivity();
            this.OnOrderUpdated = new System.Workflow.Activities.EventDrivenActivity();
            this.OnOrderCreated = new System.Workflow.Activities.EventDrivenActivity();
            this.OrderCancelledState = new System.Workflow.Activities.StateActivity();
            this.OrderProcessedState = new System.Workflow.Activities.StateActivity();
            this.OrderOpenedState = new System.Workflow.Activities.StateActivity();
            this.OrderShippedState = new System.Workflow.Activities.StateActivity();
            this.OrderInitialState = new System.Workflow.Activities.StateActivity();
            // 
            // TerminateWorkflow
            // 
            this.TerminateWorkflow.Error = "Order was cancelled";
            this.TerminateWorkflow.Name = "TerminateWorkflow";
            // 
            // setStateActivity2
            // 
            this.setStateActivity2.Name = "setStateActivity2";
            this.setStateActivity2.TargetStateName = "OrderCancelledState";
            // 
            // handleExternalEventActivity1
            // 
            this.handleExternalEventActivity1.EventName = "OrderCanceled";
            this.handleExternalEventActivity1.InterfaceType = typeof(OrderWorkflow.IOrderStateMachineDataExchangeService);
            this.handleExternalEventActivity1.Name = "handleExternalEventActivity1";
            // 
            // setOrderCompletedState
            // 
            this.setOrderCompletedState.Name = "setOrderCompletedState";
            this.setOrderCompletedState.TargetStateName = "OrderShippedState";
            // 
            // handleOrderShipped
            // 
            this.handleOrderShipped.EventName = "OrderShipped";
            this.handleOrderShipped.InterfaceType = typeof(OrderWorkflow.IOrderStateMachineDataExchangeService);
            this.handleOrderShipped.Name = "handleOrderShipped";
            // 
            // setOrderOpenState3
            // 
            this.setOrderOpenState3.Name = "setOrderOpenState3";
            this.setOrderOpenState3.TargetStateName = "OrderOpenedState";
            // 
            // handleOrderUpdated2
            // 
            this.handleOrderUpdated2.EventName = "OrderUpdated";
            this.handleOrderUpdated2.InterfaceType = typeof(OrderWorkflow.IOrderStateMachineDataExchangeService);
            this.handleOrderUpdated2.Name = "handleOrderUpdated2";
            // 
            // setOrderProcessedState
            // 
            this.setOrderProcessedState.Name = "setOrderProcessedState";
            this.setOrderProcessedState.TargetStateName = "OrderProcessedState";
            // 
            // handleOrderProcessed
            // 
            this.handleOrderProcessed.EventName = "OrderProcessed";
            this.handleOrderProcessed.InterfaceType = typeof(OrderWorkflow.IOrderStateMachineDataExchangeService);
            this.handleOrderProcessed.Name = "handleOrderProcessed";
            // 
            // setOrderOpenState2
            // 
            this.setOrderOpenState2.Name = "setOrderOpenState2";
            this.setOrderOpenState2.TargetStateName = "OrderOpenedState";
            // 
            // handleOrderUpdated
            // 
            this.handleOrderUpdated.EventName = "OrderUpdated";
            this.handleOrderUpdated.InterfaceType = typeof(OrderWorkflow.IOrderStateMachineDataExchangeService);
            this.handleOrderUpdated.Name = "handleOrderUpdated";
            // 
            // setOrderOpenState
            // 
            this.setOrderOpenState.Name = "setOrderOpenState";
            this.setOrderOpenState.TargetStateName = "OrderOpenedState";
            // 
            // handleOrderCreated
            // 
            this.handleOrderCreated.EventName = "OrderCreated";
            this.handleOrderCreated.InterfaceType = typeof(OrderWorkflow.IOrderStateMachineDataExchangeService);
            this.handleOrderCreated.Name = "handleOrderCreated";
            // 
            // stateInitializationActivity1
            // 
            this.stateInitializationActivity1.Activities.Add(this.TerminateWorkflow);
            this.stateInitializationActivity1.Name = "stateInitializationActivity1";
            // 
            // OnOrderCanceled
            // 
            this.OnOrderCanceled.Activities.Add(this.handleExternalEventActivity1);
            this.OnOrderCanceled.Activities.Add(this.setStateActivity2);
            this.OnOrderCanceled.Name = "OnOrderCanceled";
            // 
            // OnOrderShipped
            // 
            this.OnOrderShipped.Activities.Add(this.handleOrderShipped);
            this.OnOrderShipped.Activities.Add(this.setOrderCompletedState);
            this.OnOrderShipped.Name = "OnOrderShipped";
            // 
            // OnOrderUpdated2
            // 
            this.OnOrderUpdated2.Activities.Add(this.handleOrderUpdated2);
            this.OnOrderUpdated2.Activities.Add(this.setOrderOpenState3);
            this.OnOrderUpdated2.Name = "OnOrderUpdated2";
            // 
            // OnOrderProcessed
            // 
            this.OnOrderProcessed.Activities.Add(this.handleOrderProcessed);
            this.OnOrderProcessed.Activities.Add(this.setOrderProcessedState);
            this.OnOrderProcessed.Name = "OnOrderProcessed";
            // 
            // OnOrderUpdated
            // 
            this.OnOrderUpdated.Activities.Add(this.handleOrderUpdated);
            this.OnOrderUpdated.Activities.Add(this.setOrderOpenState2);
            this.OnOrderUpdated.Name = "OnOrderUpdated";
            // 
            // OnOrderCreated
            // 
            this.OnOrderCreated.Activities.Add(this.handleOrderCreated);
            this.OnOrderCreated.Activities.Add(this.setOrderOpenState);
            this.OnOrderCreated.Name = "OnOrderCreated";
            // 
            // OrderCancelledState
            // 
            this.OrderCancelledState.Activities.Add(this.stateInitializationActivity1);
            this.OrderCancelledState.Name = "OrderCancelledState";
            // 
            // OrderProcessedState
            // 
            this.OrderProcessedState.Activities.Add(this.OnOrderUpdated2);
            this.OrderProcessedState.Activities.Add(this.OnOrderShipped);
            this.OrderProcessedState.Activities.Add(this.OnOrderCanceled);
            this.OrderProcessedState.Name = "OrderProcessedState";
            // 
            // OrderOpenedState
            // 
            this.OrderOpenedState.Activities.Add(this.OnOrderUpdated);
            this.OrderOpenedState.Activities.Add(this.OnOrderProcessed);
            this.OrderOpenedState.Name = "OrderOpenedState";
            // 
            // OrderShippedState
            // 
            this.OrderShippedState.Name = "OrderShippedState";
            // 
            // OrderInitialState
            // 
            this.OrderInitialState.Activities.Add(this.OnOrderCreated);
            this.OrderInitialState.Name = "OrderInitialState";
            // 
            // OrderStateMachine
            // 
            this.Activities.Add(this.OrderInitialState);
            this.Activities.Add(this.OrderShippedState);
            this.Activities.Add(this.OrderOpenedState);
            this.Activities.Add(this.OrderProcessedState);
            this.Activities.Add(this.OrderCancelledState);
            this.CompletedStateName = null;
            this.DynamicUpdateCondition = null;
            this.InitialStateName = "OrderInitialState";
            this.Name = "OrderStateMachine";
            this.CanModifyActivities = false;

        }

        #endregion

        private HandleExternalEventActivity handleExternalEventActivity1;
        private SetStateActivity setOrderCompletedState;
        private HandleExternalEventActivity handleOrderShipped;
        private SetStateActivity setOrderOpenState3;
        private HandleExternalEventActivity handleOrderUpdated2;
        private SetStateActivity setOrderProcessedState;
        private HandleExternalEventActivity handleOrderProcessed;
        private SetStateActivity setOrderOpenState2;
        private HandleExternalEventActivity handleOrderUpdated;
        private SetStateActivity setOrderOpenState;
        private HandleExternalEventActivity handleOrderCreated;
        private EventDrivenActivity OnOrderCanceled;
        private EventDrivenActivity OnOrderShipped;
        private EventDrivenActivity OnOrderUpdated2;
        private EventDrivenActivity OnOrderProcessed;
        private EventDrivenActivity OnOrderUpdated;
        private EventDrivenActivity OnOrderCreated;
        private StateActivity OrderProcessedState;
        private StateActivity OrderOpenedState;
        private StateActivity OrderShippedState;
        private StateActivity OrderCancelledState;
        private TerminateActivity TerminateWorkflow;
        private SetStateActivity setStateActivity2;
        private StateInitializationActivity stateInitializationActivity1;
        private StateActivity OrderInitialState;
























    }
}
